Lasso Soft Inc. > Home

[ duration->asDecimal ]

Method

[Duration->asDecimal] converts a duration object to a decimal object as a decimal number of seconds.

  • Syntax
Duration Object->asDecimal
Examples
  • Beginner

To convert a duration object to a decimal object:

Use the [duration->asDecimal] method. The following example uses a single duration object, then converts it to a decimal object and returns its value.

Code

duration('12:34:56')->asdecimal

Result

45296.000000

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft