when i save float data value 11.22 but this see in table
11.220000004758456 type ? how to save only two decimal point.
Answer / guest
if u put 11.22 in a variable x, try this :
x=11.22;
printf("%2.2f",x);
2.2f specifies that ,it will print exactly 2 digits to the
left of decimal point and 2 digits to the right of the decimal
point.You can use any number according to ur requirement ,like
(%x.yf).
| Is This Answer Correct ? | 4 Yes | 0 No |
I entered the data in SQL toad version 9.0.1 in English and Arabic language but when i do the query i get the data in Arabic language with (??? question mark) ,please your support.
what is meant by write off and write on in sap?
5 Answers Reliance Communications, Wipro,
when i save float data value 11.22 but this see in table 11.220000004758456 type ? how to save only two decimal point.
definion of tcp
What are the required/mandatory parameters that have to be passed with RAISEERROR statement?
WHAT IS HTTP 500 Internal Server Error? CAN I SOLVE THIS?
Does DBCC CHECKDB requires DB to be in SINGLE_USER mode?
Difference between Bookmark lookup & RID lookup?
How will you Handle Error in SQL SERVER 2008?
What severity level errors are managed in TRY-CATCH block?
today's peformance is less than yesturday.it took 1 mint and today's performance is 7 mints.guys can anyone answer to mu question in sql
why we are using shift key in unix shell script