Hello, i'm trying to create a template for my company and I got stuck on one thing:
My company uses the following number format example: 123 987 456.00. The thing i want to make is this:
In c/al code -BodyLineText[6]:= STRSUBSTNO('%1', FORMAT(XXXXXXXXXXXXXXX ,0,'### ### ##.00')); I tried looking on how to make this work, but with no luck, the default formats like
-
<Sign><Integer Thousand><Decimals> is Format 0
-
<Sign><Integer><Decimals> is Format 1
-
<Sign><Integer><Decimals><1000Character,.> is Format 2
-
<Integer Thousand><Decimals><Sign,1> is Format 3
-
<Integer><Decimals><Sign,1> is Format 4
is not good enough for my company. The if I replace the '### ### ##.00' with the formats mentioned above example: BodyLineText[6]:= STRSUBSTNO('%1', FORMAT(XXXXXXXXXXXXXXX ,0,0)); it works perfectly, but the format is not what i need. I know that i can do it much simplier in visual studio if i change the BodyLineText from text into decimal, but thats not what i want to make. Is the format what i want to make even possible to do? Maybe someone could help me.
*This post is locked for comments