I'm using the float.txt on my dspic33ep256gp502.
Works like a charm :-)
I have this question about it :
Is it possible to print floats in a way that you can specify how many digits to print before and/or after the decimal point ?
I'm using precision with value of 8
I would like numbers to print as xx.y
so 2 digits before the dp , and 1 digit after the dp
Is this possible. ?
I don't seem to find something in the source code.
Is there a way or trick , to do this ??
Kind regards ,
Ronny Suy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm using the float.txt on my dspic33ep256gp502.
Works like a charm :-)
I have this question about it :
Is it possible to print floats in a way that you can specify how many digits to print before and/or after the decimal point ?
I'm using precision with value of 8
I would like numbers to print as xx.y
so 2 digits before the dp , and 1 digit after the dp
Is this possible. ?
I don't seem to find something in the source code.
Is there a way or trick , to do this ??
Kind regards ,
Ronny Suy