I have a field in the table declared as[tt] NUMBER(10,2)[/tt]
In some controls (in VB6) when I display the outcome from my Select statement, I get:
[tt]
.50
1.00
10.00
15.30[/tt]
I solved the problem of displaying zeros by:
Select SomeField * 1 as MyField From ...
And I get:
[tt]
.5
1
10
15.3[/tt]
(I'm sure there is a better way to do it...?)
But now, what do I need to do (in my Select statement) to get [tt]0.5[/tt] (zero point five) - instead of [tt].5[/tt] (point five)?
Have fun.
---- Andy
In some controls (in VB6) when I display the outcome from my Select statement, I get:
[tt]
.50
1.00
10.00
15.30[/tt]
I solved the problem of displaying zeros by:
Select SomeField * 1 as MyField From ...
And I get:
[tt]
.5
1
10
15.3[/tt]
(I'm sure there is a better way to do it...?)
But now, what do I need to do (in my Select statement) to get [tt]0.5[/tt] (zero point five) - instead of [tt].5[/tt] (point five)?
Have fun.
---- Andy