how to control decimal points?

  • i have a table with filed name as roundoff off type float.

    when i'm inserting the value 8.09 it stored as 8.0000000000000002E-2

    how to avoid this. i need only two or three decimal points..

  • It's not the way it's stored, it's the way it's presented to you on SELECT.

    If you want another presentation use CONVERT or STR functions.

    But use them only for presentation, not when you do calculations.

    _____________
    Code for TallyGenerator

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply