Crates.io | japanese_number_converter |
lib.rs | japanese_number_converter |
version | 0.1.0 |
source | src |
created_at | 2023-06-13 23:50:23.003211 |
updated_at | 2023-06-13 23:50:23.003211 |
description | A lib to convert numbers into japanese |
homepage | |
repository | https://github.com/sessokosga/Japanese-number-converter |
max_upload_size | |
id | 889552 |
size | 12,474 |
This converter takes a number in input and return a result of type JapaneseNumber
. This type has three properties:
arabiasu
: the number given asinput
kanji
: the number in kanji format
katakana
: the number in katakana format
romaji
: the number in roman format
let result = japanese_number_converter::
JapaneseNumber::convert(100);
println!("Result : {} => {} => {} => {}",
result.arabiasuji(),result.kanji(),result.katakana(),result.romaji());
// Result : 100 => 百 => ヒャク => hyaku