I am converting price using
sStr = close(); //close = $18.50
However, sStr contains extra zeros (e.g. 1850000000).
I will appreciate if someone can show how to truncate extra zeros
from the sStr display (or display only first 5 digits).
Also how to separate decimal and integer parts in sStr.
Thanks,
sStr = close(); //close = $18.50
However, sStr contains extra zeros (e.g. 1850000000).
I will appreciate if someone can show how to truncate extra zeros
from the sStr display (or display only first 5 digits).
Also how to separate decimal and integer parts in sStr.
Thanks,
Comment