[JW Lua] Different rounding algorithm in Finale 2014.5 and Finale 25

Jan Angermüller jan at angermueller.com
Mon Jul 23 13:16:01 CEST 2018


Jari,

I noticed different rounding results in Finale 2014.5 and Finale25 in 
the FCPage class.
Is this a JW Lua or a Finale bug?

Code snippet:
local page=finale.FCPage()
page:Load(1)
page.Height= 5321.7391304348
page.Width= 5321.7391304348
print(page.Height,page.Width)

Finale 2014.5 prints
5322 5322

Finale 25 prints:
5321 5321

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20180723/cf9704c6/attachment.html>


More information about the JWLua mailing list