Hello,
I have a string such as 000000001720.
I need that last two digts are decimals, so the number should be 17.20.
Is there a function to do it?.
Thank you,
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Hello,
I have a string such as 000000001720.
I need that last two digts are decimals, so the number should be 17.20.
Is there a function to do it?.
Thank you,
MsgInfo( Transform( 000000001720, "99,99" ) )
You want to check the string so its last two characters are digits?
EMG
Antonio Linares wrote:MsgInfo( Transform( 000000001720, "99,99" ) )
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL cVal := "000000001720"
LOCAL nVal := VAL( cVal ) / 100
? nVal
RETURN NILThank you Antonio.
No, just transform it.
But previousy I forgot val, so that´s why it did not work