Sunday, September 21, 2014

Salesforce Apex Coding: Convert String to Decimal

String s = '13.333';

Decimal dec = Decimal.valueof(s);

No comments:

Post a Comment