JSValue num = 3.14159265359; float pi = num.toFloat(); // pi will now equal 3.1415927This example creates a JSValue object called "num" that contains the value of pi to many decimal places. The toFloat() method is then used to convert that value to a float, which is stored in the "pi" variable. Package library: JSValue is part of the C++ library called "ChakraCore," which is the open-source version of Microsoft's Chakra JavaScript engine.