Select Page
Money-formatted numbers in SQLFORM grid

Money-formatted numbers in SQLFORM grid

In web2py SQLFORM grid, numbers are shown unformatted and left-aligned. It will be better if the numbers or money values are currency formatted, to make it easier to read. And better yet if those numbers right-aligned in the grid / table. We can use represent in...
Convert number to money format in web2py

Convert number to money format in web2py

At some point in doing web application using web2py/Python I need to show numbers in money formatted string. Seems a little problem easy to handle, at first. After searching about “money” at Python Package Index then I know it was quite complex matter involved many things…