hello VB college!
i have question about how can i cut my numbers.. for example
1.
my output: x=4,152
i want it to be: x=4,1520
im using this code:
2.
my output: y=3,69515E-002
i want it to be: y=3,6952E-2
im using this code:
Does anyone have idea how to do it ?
thanks a lot..
i have question about how can i cut my numbers.. for example
1.
my output: x=4,152
i want it to be: x=4,1520
im using this code:
VB.NET:
label1.text= format(x)
2.
my output: y=3,69515E-002
i want it to be: y=3,6952E-2
im using this code:
VB.NET:
label1.text= format(y.tostring("E"))
Does anyone have idea how to do it ?
thanks a lot..