To set Format a numberic string value
Posted on 2005-05-05
Dear advisor !
I use Delphi 2005
I want to update vlue from a Table on nuber field. I read value from number field to a Tedit. I use IntToStr() . But i want to format value like '123,456,789' . And after the user modify value , and want to covert it like '123456'. Because the SQL Command does not accept 'commas' on value.
Please show me the function or make best function for me.
what i ask : two functions. the fisrt to format value with separate charater like from '123456' to '123,456' . The second funtion to make '123,456' to '123456'
Thank for all consider