Function whole_to_raw

  • Turn whole Bananos (string) into raw Bananos (bigint)

    Parameters

    • whole: `${number}`
    • decimals: number = BANANO_DECIMALS

    Returns bigint