Skip to content

tstxni97/rustBahtText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustBahtText main branch

rust library that converts numerical variables to thai text based on https://github.com/tstxni97/goBahttext

รัสต์ไลบรารี่สำหรับแปลงตัวเลขเป็นข้อความภาษาไทยและมีหน่วยสตางค์ที่ถูกต้อง โดยแปลงโค้ดมาจาก https://github.com/tstxni97/goBahttext

Installation

cargo add rust_baht_text

Usage

use rust_baht_text::baht_text;

fn main() {
    println!("{}", baht_text(2.21));
    // สองบาทยี่สิบเอ็ดสตางค์
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages