121
Views
6
Comments
Solved
How to format type currency
Question

I want format the type currency. I want the total numbers 5.

For exmaple : 

€1.00 = 00100

€10.00 = 01000

€100.00 = 10000

UserImage.jpg
K A
Solution

Solution : 

I used two format

FormatText(FormatCurrency(The value, "", 2, "", ""), 5, 5, True, 0)

2023-10-21 19-42-11
Tousif Khan
Champion

Cheers you found a solution on your own, I made a Oml with some best cases, you should give it a try as well.


2023-10-21 19-42-11
Tousif Khan
Champion

Alright then, It worked perfect at my end Idk what errors you have face, but yeah at the end finally you got the solutions that is the best thing :)

2020-08-31 05-04-40
Rahul Jain

Hi K A ,

Please find  attached  OML  and demo URL below :

https://rahul-jain-doitlean.outsystemscloud.com/CurrencyFormat

Hope it will be help for you:)

Thanks

Rahul Jain

CurrencyFormat.oml
2023-10-21 19-42-11
Tousif Khan
Champion

Hello,

I have created a Logic to achieve this. I am attaching my oml Check If it will help

In Case of doubt, please ask.

Thanks

Tousif Khan

Sample_CurrencytConverter.oml
UserImage.jpg
K A
Solution

Solution : 

I used two format

FormatText(FormatCurrency(The value, "", 2, "", ""), 5, 5, True, 0)

2023-10-21 19-42-11
Tousif Khan
Champion

Cheers you found a solution on your own, I made a Oml with some best cases, you should give it a try as well.


2023-10-21 19-42-11
Tousif Khan
Champion

Alright then, It worked perfect at my end Idk what errors you have face, but yeah at the end finally you got the solutions that is the best thing :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.