Documentation
¶
Overview ¶
Package num contains numeric utility helpers — currently a safe division primitive that hides divide-by-zero handling behind a configurable fallback.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyStringSlice ¶
func ExcelGenerateCoords ¶
i.e. D10:D13 -> [D10, D11, D12, D13]
func RoundingNumber ¶
Rounding given number to n decimal place
func SafeDivision ¶
SafeDivision returns numerator/denominator. When denominator is zero the function returns 0 if zeroValue is true; otherwise it returns the numerator unchanged so callers can choose an identity value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.