Hi All

I have been updating a database from V13 to V16R6, and an eagle eyed user spotted an apparent rounding error when converting a real to text.

When InvProduct is 210.5497748441

pInvProduct:=""+String(InvProduct;"###,###,###,###,##0")

In V13.5 this code gave : 211

In V16R6 you get 210.

So is String not rounding any more?

Has anybody else noticed this?

Uist Macdonald
--

Ceres Computer Consultants Ltd
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to