Zum Hauptinhalt gehen

Suche

Suche

Serialization And Rounding Up

Kommentare

1 Kommentar

  • Avatar
    Michael Toupin (mtoupin

    You'd need to use Visual basic to handle that.  Basically what you're talking about is needing to be able to see if there's anything in the decimal value, strip it off and add 1 if there is. 

     

    So in the object, select the 'transforms' tab, then VB Script, Check 'use vb scripting', select OnProcessData, hit edit, then in the script window on the top right try:

     

    test = split(value, ".")
    if ubound(test) > 0 then
    if test(1) > 0 then 
    value = test(0) + 1
    else 
    value = test(0)
    end if 
    end if
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.