Hi Bradley
That's the typical way Pro tries to generalize the floating values. You can use for example the Format$() function to "push the limit":
Dim fValue As Float
fValue = 123.4567890987654321
Print fValue
Print Str$(fValue)
Print FormatNumber$(fValue)
Print Format$(fValue, "#.########")
Typically you will be able to get to 7 or 8 decimals using the Format$() function
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------
Original Message:
Sent: 04-28-2021 06:01
From: Bradley Trounson
Subject: Decimal character limit in variables?
Hello,
I am trying to understand why I can't seem to store a coordinate greater than 6 characters in a variable. Whether string or float, a note of the variable returns something like -30.456 or 150.553
Three characters either side.
please help me understand....
thanks in advance
------------------------------
Bradley Trounson]
NBN Co Limited]
------------------------------