The dataView.setFloat64() is an inbuilt function in dataView which is used to store a signed 64-bit float value at the specified location i.e, at byte offset from the start of the dataView.
Parameters: It has parameter byteOffset which is offset in byte i.e. from the start of the view where to read the data.
Return value: This function does not return anything.
Below code set the value of PI using Math.PI and gives output as the value of PI.
When there is no data to be stored then it gives output as NaN i.e, not a number.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : Akanksha_Rai