General information
Category:
Coding, syntax & commands
You could set decimal to MAX_desired before val(), and set deci to 2 after that.
Or just:
?val(...)+0.00000 to show up to 5 decimals no matter what decimals set to.
>Hi Everybody,
>
>I want to calculate the numeric value of a string with any decimal points. The problem with Val() is: I have to use Set Decimal To for a specific number of decimal points.
>
>For example.
>If Set Decimal to 2
>Val(“89.335”) yields 8.34
>and if Set Decimal to 2
>Val((“89.335”) yields 8.335
>
>Is there any solution?
>
>Thanks,
>Ali
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