laptophead
Well-known member
Is that true?
I tried newX = newX_St.toDouble(); and I got a "No class member toDouble"
Too bad I need the precision,
I tried the next best thing, ToFloat and it works.
BUT:
I can not use the modulo in a float.
Why not?
Tried:
new_Th = newTh_St.toFloat();
new_Th = new_Th % 90.00;
and I get:
invalid operands of types 'float' and 'float' to binary 'operator%'
new_Th = new_Th % 90.00;
It worked fine as an integer, but I need the precision.
Please help.
Mitch
I tried newX = newX_St.toDouble(); and I got a "No class member toDouble"
Too bad I need the precision,
I tried the next best thing, ToFloat and it works.
BUT:
I can not use the modulo in a float.
Why not?
Tried:
new_Th = newTh_St.toFloat();
new_Th = new_Th % 90.00;
and I get:
invalid operands of types 'float' and 'float' to binary 'operator%'
new_Th = new_Th % 90.00;
It worked fine as an integer, but I need the precision.
Please help.
Mitch