Example usage for jdk.nashorn.internal.objects NativeNumber getValue

List of usage examples for jdk.nashorn.internal.objects NativeNumber getValue

Introduction

In this page you can find the example usage for jdk.nashorn.internal.objects NativeNumber getValue.

Prototype

public double getValue() 

Source Link

Document

Get the value of this Number

Usage

From source file:org.bson.jvm.nashorn.NativeNumberCodec.java

License:Apache License

public void encode(BsonWriter writer, NativeNumber nativeNumber, EncoderContext encoderContext) {
    writer.writeDouble(nativeNumber.getValue());
}