Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 618 Bytes

vector.scalaroperations.fromnumber.md

File metadata and controls

26 lines (15 loc) · 618 Bytes

Home > @josh-brown/vector > ScalarOperations > fromNumber

ScalarOperations.fromNumber() method

Returns an instance of the scalar type which most accurately corresponds to the value of num

Signature:

abstract fromNumber(num: number): S;

Parameters

Parameter Type Description
num number

Returns:

S

The scalar