Skip to Content
author's profile photo Former Member
Former Member

HELP ME OFFSET IN SMARTFORM.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 04:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 05:00 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.