Examples of OtpErlangDouble


Examples of com.ericsson.otp.erlang.OtpErlangDouble

 
  @Test
  public void testParse6c()
  {
    String text = " 458888.5e-5 ";
    OtpErlangDouble number = (OtpErlangDouble)ErlangLabel.parseText(text);
    Assert.assertEquals(4.588885,number.doubleValue(),Configuration.fpAccuracy);
    Assert.assertEquals("4.588885",ErlangLabel.dumpErlangObject(ErlangRunner.getRunner().evaluateString(text)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.