Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HELP ME OFFSET IN SMARTFORM.

Former Member
0 Likes
842

I HAVE ONE PROBLEM.

I HAVE TO PRINT VALUE WITH OUT DECIMAL PLACES USING OFFSET FUNCTIONALITY.IF THIS VALUE IS FIXED I CAN ,BUT THE VALUES ARE NOT SIMMILER.

EX->23,33,123,343,1,433.JUST LIKE THAT SO HOW TO SEPERATE DIFFRENT DECIMAL PLACES CORESPONDING VALUES USING OFFSET FUNCTIONALITY.

WITH REGARDS.

MY PROBLEM IS IN MY SMART FORM IT IS PRINTING THE VALUE JUST LIKE

23,33,123,343,1,433 SO I HAVE TO REMOVE VALUES AFTER COMMA SEPERATOR.

PLESE SEND ME THE CODE.

WITH REGARDS.

7.6.8 Number of Decimal Places A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value. Syntax &symbol(.N)&

&symbol(.0)& for no decimal palces.

regards

shiba dutta

2 REPLIES 2
Read only

Former Member
0 Likes
577

Hi Khadar ,

To print output without decimal places in smartforms / scripts use the fromat

&symbol(.N)& where N indicated number of decimal places.

Since you dont want any decimal places then print it as

<b>&symbol(.0)&</b>

Regards

Arun

*Assign Points if reply is helpful

Read only

Former Member
0 Likes
577

7.6.8 Number of Decimal Places A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value. Syntax &symbol(.N)&

&symbol(.0)& for no decimal palces.

regards

shiba dutta