Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Latest commit

 

History

History

Convert Base.lbaction

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Base Convert

Converts a number in any base N to base M (where N and M >= 2 and <= 36).

Base Convert Screenshot

Installation

Download the action, unzip it, and double the resulting lbaction file to install it.

Usage

The command accepts the following syntax:

<number>[[_<source-radix>] <dest-radix>]

  • If source-radix is omitted, it will try to guess between base 2, 16 and 36 (defaults to 10 otherwise).
  • If dest-radix is omitted, the number is converted to several common bases (binary, octal, decimal and hexidecimal).

Examples

  • 0x81F9.4 10 returns 33273.25
  • 81F9_16 2 returns 1000000111111001
  • 7501_8 2 returns 111101000001