Skip to content

Convert between numerical bases (support for bases >36 & floating-point bases)

License

Notifications You must be signed in to change notification settings

spejamchr/chbsrs

Repository files navigation

Representing 123.45 as a base-pi number: 10220.00012120...

ChangeBase

Convert numbers from one positional notation to another. Either base can be a non-integer, such as pi or e.

Built with Leptos.

Why?

I read that base-e has the lowest radix economy, and I wanted to see what numbers would look like in base-e. Also, I wanted to try out Leptos.

Running Locally

This site uses Rust nightly and requires that you've installed the wasm compilation target for your toolchain.

If you don't have Rust nightly, you can install it with

rustup toolchain install nightly --allow-downgrade

You can add the wasm compilation target to rust using

rustup target add wasm32-unknown-unknown

Then clone the project

git clone https://github.com/spejamchr/chbsrs.git

Developing

To run the app use Trunk:

trunk serve --port 3000 --open

Deploying

All pushes to main are automatically deployed by GitHub Actions.

About

Convert between numerical bases (support for bases >36 & floating-point bases)

Topics

Resources

License

Stars

Watchers

Forks