Revision 11b49c26 src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/Timeslot.scala
b/src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/Timeslot.scala | ||
---|---|---|
180 | 180 |
/** |
181 | 181 |
* Converts the timeslot to the amount of hours it represents |
182 | 182 |
*/ |
183 |
def hours: Float = ((to.getTime - from.getTime)/1000)/60 |
|
183 |
def hours: Float = ((to.getTime - from.getTime)/1000)/60F/60F
|
|
184 | 184 |
} |
Also available in: Unified diff