Formatting Question

George Handley ghandley at kc.rr.com
Wed May 25 11:37:22 EDT 2016


XTensioneers,

I thought I remembered how to change the formatting of a number to only show two characters beyond the decimal point, but I can’t figure it out today. I believe there might have been a change per request in one of the many recent new versions of XTension, but I don’t know for sure.

The line below for years has only resolved to a number displaying only two digits beyond the decimal point, and for a couple months now displays up to five chars after the decimal point.

set newTemp to (LowerLevel + DavisTemp) / 2.0

Can someone tell me what it should now look like to produce a number with only two chars after the decimal point?

Thanks,

George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20160525/70dc2306/attachment.html>


More information about the XTensionList mailing list