General information
Category:
Coding, syntax & commands
If I am right, it is only for the explanation of the 237 value. :) Otherwise, the doc is correct: the width includes the decimal point and the decimal places.
Vlad
>That could be but the documentation specifically states that the Width is supposed to include the decimal point and precision numbers. I think you are right and the documentation is messed up.
>
>>It doesn't really matter since the max precision is 15-20 digits anyway (I don't remember it exactly).
>>
>>Just a guess: The max number of decimal places is 18. One is reserved for the decimal point. So, 256 - 18 - 1 = 237.
>>
>>Vlad
>>
>>>As you know, STR(nVar,nWidth,nDec) returns a string from a numeric value. What you probably didn't know is that nWidth cannot exceed 237. Anyone know why? I could understand 254 maybe, but 237 seems arbitrary.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only