1 Reply Latest reply on Oct 25, 2012 2:57 PM by 597001

    xdofx:ceil on xml publisher


      i am not able to ceil on the below, could some one let me know if this is possibile

      <?sum(current-group()/PALLET)?> -- gives 43.34

      <?xdofx:ceil(sum(current-group()/PALLET))?> i want to give as 44


      Edited by: user469514 on Oct 24, 2012 8:50 PM
        • 1. Re: xdofx:ceil on xml publisher
          Use round instead
          <?sum(current-group()/PALLET)?> -- gives 43.34
          <?xdofx:ceil(sum(current-group()/PALLET))?> i want to give as 44>
          Please remember below
          Note: You cannot mix xdofx statements with XSL expressions in the same context. For example, assume you had two elements, FIRST_NAME and LAST_NAME that you wanted to concatenate into a 30-character field and right pad the field with the character "x", you could NOT use the following:

          However, you can take this value into variable do a ceil.

          Refer the below link for supported XDOFX functions
          Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.