# Currency format : how to do it

**URL:** <https://forum.robotframework.org/t/currency-format-how-to-do-it/1555>\
**Category:** Development\
**Created:** [30 March 2021 06:30 UTC](https://forum.robotframework.org/t/currency-format-how-to-do-it/1555 "2021-03-30T06:30:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [1 April 2021 22:06 UTC](https://forum.robotframework.org/t/currency-format-how-to-do-it/1555/6 "2021-04-01T22:06:52Z")

</div>

Hi John,

Both format and replace are standard [python string functions](https://www.w3schools.com/python/python_ref_string.asp)

I used the string number formatter to format the number with commas( , ) and then used replace to replace the commas with spaces.

Learning python is not required for using robot framework, but learning some of the basics is pretty useful, I linked to the W3Schools site rather than the python documentation as I feel that W3Schools explains things better for non programmers, they also have a good [python tutorial](https://www.w3schools.com/python/default.asp)

Good luck with the learning,

Dave.

---

_[View the full topic](https://forum.robotframework.org/t/currency-format-how-to-do-it/1555)._
