Announcements
No record found.
Hello, i like show a Real Field as Percentage, i add Percent EDT to the field (in Table), but keeps showing as real.
My values are 0.10, 0.40, 5.40 .. etc and i like show 0.1%, 0.40% 5.4% ....
Thanks
*This post is locked for comments
write an edit method , which returns string as 0.40 %, 0.1%. in edit method use num2str function. u will get ample of examples in AOT on edit methods.
Hi,
I would suggest to keep the field as real and change the label to something that has suffix % like discount % (or) else you have to save it as a string by appending the real value(using num2str() function) with percentage symbol '%' and for every needed calculation need to extract the integer part from string(using substr() function), convert it to real(using str2num() function), perform calculation, convert real to string(using num2str() function) and append %symbol back again which is clearly an overhead.
Is there no other way ?, then what is the Percent EDT ? I do not want to use code for this form.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.