Hi
Just some thoughts.
be careful changing to float, any one using the component, it will break their project, they may not even be able to open their project to fix it.
(single/double as they have a fixed byte size, do not choose a type that is definded dependent on cpu/architecture)
using any float type, can have many bad side effects, if user does a standard comparison for value match they probably will not work.
i would stick with integer/cardinal type, then its up to usr to do any decimal resolution they need. As long as they can overide the displaying of value, so they can choose how the value is displayed, as some may want 0.12300 other may want 0000.123 etc.
props
Min,Max,Interval
-10000,15000,100
Would allow for a display of 250 distinct visual increments.
User could then overide the display as they seem fit, theymight want the value
to be displayed as -10,000 or -100.00 or -10.000 and in Red / 14,999 or 149.90 or 1.4999 and in Blue.
What might be beter is fix any bugs in existing, allowing for display override, then have a DecimalVersion of the Control that inherits the Fixed Control, that does the 'float stuff', that way you have best of both worlds, and any future bugs/fixes to the base control,propogates to the decimal version. that way it should have little to no impact on existing users, but a'new' controlif users need decimal, and it shouldbe easier to maintain.