User Tools

Site Tools


doublevalueobject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doublevalueobject [2021/10/11 21:33] – [JavaScript Notes] wikiadmindoublevalueobject [2021/10/11 21:49] (current) – [JavaScript Notes] wikiadmin
Line 13: Line 13:
 ===Notes=== ===Notes===
  
-In MIStudio or TransSECS if you create a DoubleValueObject entity, and send any numeric type into its input, the value stored will be converted to store this value. +Internally the DoubleValueObject will store the value as a java double type. If the java type used to create this value object is a float, the internal type will set as "F", otherwise "D"
  
 If you send a DoubleValueObject to a Manipulator which generates Strings, the value will be stored as a String with three decimal places. If you send a DoubleValueObject to a Manipulator which generates Strings, the value will be stored as a String with three decimal places.
Line 58: Line 58:
 <code javascript> <code javascript>
  
-floatValue = incomingValue->getFloatValue(); +floatValue = incomingValue.getFloatValue(); 
  
 +</code>
 +
 +Example 4. Get the Boolean value of the incoming DoubleValueObject
 +
 +<code javascript>
 +boolValue = incomingValue.getBoolValue(); //will be true if !=0 and false otherwise
 </code> </code>
  
doublevalueobject.1634002413.txt.gz · Last modified: by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki