Ask a Question

Conversion of currency in testcomplete javascript

SOLVED
abishekhari007
Champion Level 0

Conversion of currency in testcomplete javascript

i have a dollar value as "$400,000" is need to convert this is as 400000, without dollar and comma, how do i achieve it through testcomplete using javascript

2 REPLIES 2
Marsha_R
Champion Level 2

You can use methods from aqString to reformat.  There are examples in javascript.

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqstring/index.html

Thanks for the response
instead i have used aqConvert.CurrencyToFormatStr Method

 

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqconvert/currencytoformat...

cancel
Showing results for 
Search instead for 
Did you mean: