Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Reporting tools (GRW, GRE)
>
Function documentation
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Function documentation (Read 13134 times)
Joseph M.
Posts: 18
Function documentation
«
on:
July 10, 2009, 04:52:41 pm »
Hello,
Where can I find documentation for the built in functions for report writer?
I have an issue with the toString() function. It returns a string value "99.0" for an integer variable with value of 99. How can I get it to return "99" without the training ".0".
Thank you
Joe Miller
Christine R.
Posts: 443
Re: Function documentation
«
Reply #1 on:
July 10, 2009, 06:04:34 pm »
Hello Mr Miller,
See below the URL where you can find the requested information :
https://4js.com/online_documentation/fjs-grd-1.00.00-manual-html/reportwriter/User/ClassString.html
This documentation is also delivered in the Genero Report Designer package.
You may also find some useful information in this page:
https://4js.com/online_documentation/fjs-grd-1.00.00-manual-html/reportwriter/User/rtlexpressions.html
I hope this will help you.
Best regards,
Christine HEIM-REBIERE
Four J's Support Team
Joseph M.
Posts: 18
Re: Function documentation
«
Reply #2 on:
July 10, 2009, 06:18:30 pm »
Thank you for your reply,
I have found the toString() function documentation. Unfortunately it doesn't document its return value or any method of controlling its return value.
I don't understand why this function is returning a representation of a float value when the value being converted is an integer. Can you provide a method for properly converting and displaying an integer value?
Thank You
Joe Miller
Alex G.
Posts: 155
Re: Function documentation
«
Reply #3 on:
July 10, 2009, 08:46:59 pm »
Try the function Numeric.format(String formatString) which is compatible with the 4GL FORMAT string. As an example consider the expression (12.34).format("###") which yields the String "12".
Kind Regards,
Alex Geller
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...