Skip to content

Files

Latest commit

 

History

History
57 lines (39 loc) · 1.81 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.81 KB
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. See getting started with Leptos.

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.