|
ADAM,
Thanks for your input.
I am using validation to make sure its a number. My problem which is solved now.
Was that if you entered 3000 which is how it was saved to the DB.
However when i display to the screen i use formactCurrecny(value,0) which displays 3000 as £3,000
Because users could see £3,000 i had to let them be able to type in £3,000 but this would cause the DB to have a fit as float although ignored the £ it could not cope with the ,
hope that made sense if not here is a short version
In England 3,000 is a valid number the validate number function allows it the DB doesnt so i had to get rid of the, some how which i have now done.
|