Skip to main content

Search

Search

Serialization And Rounding Up

Comments

1 comment

  • 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

Please sign in to leave a comment.