hye people!!
i have problems with my programm.
i want to cut my result into 1 decimal places.
for example:
####################################
x= 1.234567 into 1.2
label1.Text=format( x, "#.#" )
with this x value , it can be done by those code.
####################################
but the problem occured when :
x= 0.0023 then, there is an error.
i have found function Int or Fix to convert number into fix number.
but i think not approriate to my programm.
can anyone helps me?
thank you so much..
i have problems with my programm.
i want to cut my result into 1 decimal places.
for example:
####################################
x= 1.234567 into 1.2
label1.Text=format( x, "#.#" )
with this x value , it can be done by those code.
####################################
but the problem occured when :
x= 0.0023 then, there is an error.
i have found function Int or Fix to convert number into fix number.
but i think not approriate to my programm.
can anyone helps me?
thank you so much..