Subject | Re: [firebird-support] translate from sessagesimal minutes in centesimal |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-30T11:54:53Z |
Hi Arn,
.30 = 30 minutes, 30 minutes/60 minutes = .5
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I have a field declared as numeric( 9,2 ).You can convert it to minutes ->
> In it I store hours and minutes:
> eg: 220,30 hours.
>
> All fine.
>
> Now I must multiplicate that field for money field.
> eg ( 220,30 hours * 8,45 euro ).
>
> How to translate 220,30 in 220,50?
.30 = 30 minutes, 30 minutes/60 minutes = .5
> to perform the multiplication?With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com