Releases: hubble-exchange/content
Releases · hubble-exchange/content
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
🚀 Features
unScale
unit with native bigint - by @itsmnthn (77d00)scale
unit with native bigint - can scale bigint too - by @itsmnthn (e997a)unScaleToBase
unit with native bigint - by @itsmnthn (b98f2)absBig
to get absolute value of bigint - by @itsmnthn (ff2a4)getSign
returns -1 | 0 | 1 from given bigint value - by @itsmnthn (ff2a4)calcTotalPrice
with native bigint - by @itsmnthn (c9247)calcPrice
(previously -calcUnitPrice
) with native bigint - by @itsmnthn (c9247)calcUnits
with native bigint - by @itsmnthn (c9247)FormatAmount
with bigint and better property names - by @itsmnthn (9412c)shortenString
formatTime
(previouslytimeDiffToString
) are now faster - by @itsmnthn (01a94)getSmallest
(previouslygetSmallestDecimalString
) is now faster - by @itsmnthn (01a94)stripTrailingZeros
(previouslyremoveExtraZeros
) is now faster - by @itsmnthn (01a94)formatWithComma
(previouslyaddCommaToAmount
) is now faster and supports bigint - by @itsmnthn (01a94)range
is now faster - by @itsmnthn (71d34)calcPercentValue
(previouslygetPercentOfAmount
) with native bigint - by @itsmnthn (5025e)calcPercentage
(previouslygetPercentageOfAmount
) with native bigint - by @itsmnthn (5025e)increaseByPercentage
(previouslyincreaseNumByPercentage
) with native bigint - by @itsmnthn (5025e)decreaseByPercentage
(previouslydecreaseNumByPercentage
) with native bigint - by @itsmnthn (5025e)
🐞 Bug Fixes
increaseByPercentage
now works with negative values - by @itsmnthn (5025e)decreaseByPercentage
now works with negative values - by @itsmnthn (5025e)