superhorse
Registered User.
- Local time
- Today, 16:04
- Joined
- Apr 14, 2008
- Messages
- 13
Does anyone know any simple code for converting a certain time period to a decimal?
In my form I have a field that displays the time a task took in short time (e.g. 2 hours is displayed as 02:00) and I want some code that can convert whatever value is put into that field into a decimal to then be more easily used in calculations.
The cost field will multiply this converted decimal by a rate depending on which client is selected from the client table.
In my form I have a field that displays the time a task took in short time (e.g. 2 hours is displayed as 02:00) and I want some code that can convert whatever value is put into that field into a decimal to then be more easily used in calculations.
The cost field will multiply this converted decimal by a rate depending on which client is selected from the client table.