Through OCR i am capturing a Number , that is captured as String. So with Number Format i am trying to convert it to Numeric value. While running this scenario, i am getting below Exception -
Caused by: java.lang.IllegalArgumentException: Representation ‘0.5045’ is unknown to RNumber mask '0.0000;en-US’
(Where .5045 is captured number through OCR which is stored in String Valriable)
But if i use Hard coded Value (Default Value for Variable) in Number Format, Then it is working fine and performing all the operations in correct manner.
Please suggest how can i resolve this issue.