ToDecimal (PQL)

Returns the number based on a string representation of a number. 

  • Returned Output: Numeric
  • Library: PQL \ Granular \ Math
  • Version: 2023.00.000
  • Compatibility: Pyramid Query Language (PQL) data sources

Syntax

ToDecimal( <Column String> )

* Click on the function's arguments above for more details on the input values.

Comments
  • The text string value must be a text or string representation of a number.
Different Function types
  • This function is like the Excel VALUE function.

Examples

This example returns the number 123 as a decimal:

ToDecimal("123")