Smiff: Sample ...
If CommaPos = 2 so the value from 100 (MySpinValue) is later 1.00
See code for calculation:
You must set Int(YourMaxValue) * (10 * CommaPos) as maximally value on spinner gadget for powerful calculation.
This works good, but this have a little problem: In this sample MySpinValue works with "10000" as value instead of "100". Problem: Integers can have max. 4294967295 unsigned and signed max. 2147483647.
bye
sry for my bad english
CommaPos = Int(2) MySpinValue = Int(100) * (10 * CommaPos)
If CommaPos = 2 so the value from 100 (MySpinValue) is later 1.00
See code for calculation:
MyValue# = Float(MySpinValue / (10 * CommaPos))
You must set Int(YourMaxValue) * (10 * CommaPos) as maximally value on spinner gadget for powerful calculation.
This works good, but this have a little problem: In this sample MySpinValue works with "10000" as value instead of "100". Problem: Integers can have max. 4294967295 unsigned and signed max. 2147483647.
bye
sry for my bad english