Subject | Re: [firebird-support] format the float value |
---|---|
Author | Ann W. Harrison |
Post date | 2007-01-02T20:31:50Z |
d_dude_2003 wrote:
Are you sure that all values have a precision of four or
less?
Are you sure that none are negative?
If you're sure of the precision and scale, why declare
the field as float to begin with?
Regards,
Ann
>That doesn't seem like a very safe thing to do.
> how do i format the float value to a string like ##.##?
>
> something like CAST(MyValue As VARCHAR(5))?
>
Are you sure that all values have a precision of four or
less?
Are you sure that none are negative?
If you're sure of the precision and scale, why declare
the field as float to begin with?
Regards,
Ann