On Sat, 05 Jan 2002 11:28:54 -0800, Kevin Campbell <[EMAIL PROTECTED]>
wrote:

>>I’m using a field in a form to record money values: 0.00 – 9000.00 in my
>>database table.
>>I’m planning on using float(4,2).  Does the 4 mean the maximum number of
>>digits before the decimal and the 2 the number of digits after the decimal.
>>

I think you'll find using the DECIMAL(6,2) works better for dollar values.

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225)686-2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to