Jun 05, 2015; 09:45
Patrick Larkin
Decimal places issue
Lasso 8.6
I generate a portion of a PDF using this code:
[var('theText') = field('Assignments::Letter FTE')]
[var:'text4'=(PDF_Text:$theText, -Type='Paragraph', -Font=$MyFont, -Leading=15)]
[$MyTable->(Add:$text4, -Col=2, -Row=1, -HorizontalAlignment='left')]
The field "Assignments::Letter FTE” is a field in Filemaker Pro 12 which is a calculation field. The result is set to “Number”. I set the formatting in Filemaker to show two decimal places. So a 1 should show as 1.00. When Lasso writes this to the PDF, only 1 appears. I tried using the [Decimal->SetFormat] and the [Decimal] tag to no avail. I’m sure it has something to do with the number being cast as a string or something but I don’t know what to do! Anyone?
Thanks.
PLEASE NOTE: My e-mail address has changed to: plarkin@basdschools.org
——
Patrick Larkin
Application Management Group
Information Technology
Bethlehem Area School District
https://www.beth.k12.pa.us
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>