Skip to content

Instantly share code, notes, and snippets.

Jussi Laasonen jlaasonen

Block or report user

Report or block jlaasonen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jlaasonen
jlaasonen / convertToRoman.js
Created Mar 25, 2019
Convert a number into Roman numeral
View convertToRoman.js
// Derived from https://stackoverflow.com/questions/9083037/convert-a-number-into-a-roman-numeral-in-javascript#37723879
import { List } from 'immutable'
const romanMatrix = List.of(
List.of(1000, 'M'),
List.of(900, 'CM'),
List.of(500, 'D'),
List.of(400, 'CD'),
List.of(100, 'C'),
List.of(90, 'XC'),
View gist:3c9f27dce5fabb3cd25c14338b62de83
### Keybase proof
I hereby claim:
* I am jlaasonen on github.
* I am jlaasonen (https://keybase.io/jlaasonen) on keybase.
* I have a public key whose fingerprint is D353 03FE 77A8 90BE 87F6 0453 10E2 BD1A 52AC 5172
To claim this, I am signing this object:
You can’t perform that action at this time.