KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Decimal values require leading 0 when dot notation is enabled
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: February 17, 2021

As 4D is transitioning its language towards dot notation, any expressions involving decimals will soon need to require a leading 0 to prevent conflicts with dot notation syntax. For example, take the expression below:

EXECUTE FORMULA("$result:=1+.5")

should be changed to:

EXECUTE FORMULA("$result:=1+0.5")

Make sure to take the time to add the leading zero to any decimal expressions prior to converting to v18.