Money Format Conversion
Posted on 2004-04-26
I have a textbox where a large dollar about is entered in millions ( 1.9M = $1,900,000 ). I need the entry to be converted to $1,500,000 format from 1.5M when the textbox loses focus OR on submit. It needs to be saved in the database as $1,500,000 and not 1.5M. How would I go about doing this. Not sure what to do with the code.