Convert account balance value from internal indivisible units to NEAR. 1 NEAR is defined by NEAR_NOMINATION.
Effectively this divides given amount by NEAR_NOMINATION.
Parameters
balance: string
decimal string representing balance in smallest non-divisible NEAR units (as specified by NEAR_NOMINATION)
fracDigits: number = NEAR_NOMINATION_EXP
number of fractional digits to preserve in formatted string. Balance is rounded to match given number of digits.
Convert account balance value from internal indivisible units to NEAR. 1 NEAR is defined by NEAR_NOMINATION. Effectively this divides given amount by NEAR_NOMINATION.