Function: percentageToBasisPoints()
function percentageToBasisPoints(percentage): number;
Converts a number to basis points. Supports up to 2 decimal points. E.g 9.95 -> 995
Parameters
| Parameter | Type | Description |
|---|---|---|
percentage | number | A percentage amount in the range [0, 100] including decimals. |
Returns
number