Skip to Content
avatar image
Former Member

how to stop converting long integers to exponential format

Hi,

How to stop converting long integer numbers from backend to numbers with exponential 10.

Ex: 1010004003001020 becomes 1.01000400300102e+15

Regards,

Madhu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 11, 2007 at 06:59 AM

    Hello,

    I have the same thing with a

    string

    which contains a long number. In the database my string contains '646544546877945168798798797987', and in VC at runtime, the same string is displayed like this : '6.46544546877945e+22'

    I created a SAP message like this :

    Short Text
    Long text format under Visual Composer
    Long Text
    
    Hello,
    
    My problem is :
    In my model, I have 1 web service and 1 table view.
    
    1. The web service returns a list of data with a long string of numbers
    (text format). When I test my web service, the result is OK. (screenshot 1)
    
    2. In my table view, I create a Expression Box (type Text) which contains
    column with a long string of numbers. (screenshot 2)
    
    3. At runtime, we don't have a long string of numbers but a number with
    a
    exponential. (screenshot 3).
    
    Best regards

    And SAP response is :

    08.04.2007 - 10:27:00 CET    SAP    Réponse
    
    Dear Customer,
    We will contact Adobe support with this issue.
    Amir will update you on their answer.
    
    Regards
    David Lotan Bolotnikoff
    05.04.2007 - 09:04:10 CET    Patrice LE LAN    
    
    SAP choose to use Flash, you must to do all the thing to make it work.
    04.04.2007 - 15:55:05 CET    SAP    Réponse
    
    Dear Frank,
    
    this issue is a known bug of Flash,
    we hope it'll be solved in their next versions, but currently it's
    out of our hands.
    
    please close this message for now.

    The work around I used is, in my java web service or my stored procedure, I add a space character at the end of my string.

    regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 14, 2007 at 09:40 AM

    Thanks Francois

    Add comment
    10|10000 characters needed characters exceeded