03-22-2021 07:32 AM
Hello,
I think this is a basic labview question. I have a fractional string value 2.01. I want it to convert it to the number format. I used fractional/exponential string to number but the output I am getting in number is only 2. How can I get the whole value 2.01 in number.
Solved! Go to Solution.
03-22-2021 07:40 AM - edited 03-22-2021 07:43 AM
Hi govindsankar,
you have been so long a participant of this forum so you should know you have to provide an example VI to explain your problem!
@govindsankar wrote:
I have a fractional string value 2.01. I want it to convert it to the number format. I used fractional/exponential string to number but the output I am getting in number is only 2.
For me it works as expected:

Your computer is using the point as decimal separator char?
03-22-2021 07:57 AM
Thank you, that was the problem. I live in Germany, here comma is used instead of point. So the number is 2,01.
03-22-2021 01:03 PM
Luckily there is a Boolean input on the top of the Fract/Exp String To Number function to "Use System Decimal Point" that you can just set to FALSE. The function will always assume a period for the decimal separator then.