My Oracle Support Banner

Parsing Strings into Numbers (Doc ID 1660079.1)

Last updated on OCTOBER 23, 2017

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 11.0 and later
Information in this document applies to any platform.


This article is from the Oracle CPQ Cloud Product Help. For the most recent information, please log in to your CPQ Cloud site and click here.

Numbers in CPQ Cloud are often stored as strings. In order to perform any calculations with these values, the data must first be parsed into a number.

Parsing data can be error prone. By being thorough and type-checking our data, we can create flexible solutions that behave reasonably when dealing with invalid inputs.

Number parsing may come into play in BML, JavaScript, XSL, or any other scripting or programming language that passes data around or accepts user input. This article focuses on the mechanisms used within BML.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Using atoi and atof
 Using isnumber

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.