Conversion of currency in testcomplete javascript
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020
06:42 AM
08-18-2020
06:42 AM
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
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020
10:15 AM
08-18-2020
10:15 AM
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
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020
11:58 AM
08-18-2020
11:58 AM
Thanks for the response
instead i have used aqConvert.CurrencyToFormatStr Method
