Excuse me,

I am using expression to add int with double and then assign to string
the problem is the result is not preferred.

The inputs are "123" and "123.456", the output is "246.45600000000002"
Therefore I would like to trunc the output, but I don't know what functions are 
available.

The expression

  | <bpws:assign>
  |     <bpws:copy>
  |             <bpws:from expression="
  |                     bpws:getVariableData('inputVariable', 'payload1', 
'/payload1/input1') + 
  |                     bpws:getVariableData('inputVariable', 'payload1', 
'/payload1/input2')"/>
  |             <bpws:to variable="outputVariable" part="payload2" 
query="/payload2/result"/>
  |     </bpws:copy>
  | </bpws:assign>
  | 

Would you like to point me where I can found out some documents?

Thank you very much ^^
Roy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915464#3915464

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915464


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to