libsbmlcs.ASTNode.getMantissa C# (CSharp) Method

getMantissa() public method

public getMantissa ( ) : double
return double
        public double getMantissa()
        {
            double ret = libsbmlPINVOKE.ASTNode_getMantissa(swigCPtr);
            return ret;
        }

Usage Example

Esempio n. 1
0
 public void test_element_cn_e_notation()
 {
     string s = wrapMathML("<cn type='e-notation'> 12.3 <sep/> 5 </cn>");
       N = libsbml.readMathMLFromString(s);
       assertTrue( N != null );
       assertTrue( N.getType() == libsbml.AST_REAL_E );
       assertTrue( N.getMantissa() == 12.3 );
       assertTrue( N.getExponent() == 5 );
       assertTrue( N.getNumChildren() == 0 );
 }
All Usage Examples Of libsbmlcs.ASTNode::getMantissa