Asking what datatype should I used?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lotus18
    Contributor
    • Nov 2007
    • 865

    Asking what datatype should I used?

    Hello World!

    I am currently working on a field that contains 'Prices'
    I declared its datatype as double, Length=7 and Decimals=2and it works fine but a problem arises when the decimal contains a fixed .00

    This is working:
    Code:
    789.69
    56.36
    7853.15
    When I insert new values
    Code:
    789.00 becomes 789
    56.00 becomes 56
    7853.00 becomes 7853
    Rey Sean
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    Convert the data in to two decimal places while fetching from the table? What happens in this case?

    Comment

    Working...