I have been looking at the bcd format as suggested and I must admit I can't see how that's gonna help with my problem.
If I have a number like 12 nano stored in a float variable and want it converted so i can display it on a hdd44780 2x16 char disp.
I can't shift left, for some reason thats not possible on a float, my second idea was to multiply it, but that still presents me with a problem, since my prefiks can change from nano to micro from each mesurement.
any ideas on how to do it, or some way to see what prefiks the number in the float has?
have another question not related to the other one.
if I want to raise a number to the power of i would normally do it like this in C: "10^2", dosent work in imagecraft, then I looked in the math include file, which has this routine:
float powf(float x, float y) )
returns x raised to the power y.
but this dosent return the right value either, i think maybe its something with my varible types, thats screwing around. Has anyone tried to use this routine, and if so, maybe they have an example I can see?
thx.
[/list]