Convert Arabic numeric amounts to Chinese character

Related tags

rmb-character
Overview

将阿拉伯数字金额转换为汉字的形式

Convert Arabic numeric amounts to Chinese character form.

安装使用

Golang 版本大于等于1.16
go get -u github.com/aliliin/rmb-character

import (
    "github.com/aliliin/rmb-character"
)

注意注意

目前只能输入整数金额且输入的金额会除以 100 进行计算 如:输入 15809 得到的结果为:壹佰伍拾捌圆零角玖分

用法示例
fmt.Println(rmb_character.RmbCapitalCharacters(1234340)) // 壹万贰仟叁佰肆拾叁圆肆角零分

fmt.Println(rmb_character.RmbCapitalCharacters(567843)) // 伍仟陆佰柒拾捌圆肆角叁分
错误处理

开发中...

参考项目

Releases(v0.1.1)
Owner
高永立
Keep calm and coding.
高永立
Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al.

Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al. This library is external dependency-free. It only depends on the Go standard library.

Sahil Muthoo 1k Sep 21, 2021
a tool for creating exploited media files for discord

Discord-Exploits A program for creating exploited media files for discord written in Go. Usage discord-exploits is a command line utility, meaning you

schmenn 207 Sep 13, 2021
safe and easy casting from one type to another in Go

cast Easy and safe casting from one type to another in Go Don’t Panic! ... Cast What is Cast? Cast is a library to convert between different go types

Steve Francia 1.8k Sep 18, 2021
Nintendo 64 ROM utility written in Go.

Nintendo 64 ROM utility written in Go. Commands ls - List information about all ROMs in a directory info - Show information about a single ROM convert

Mike Roach 6 Sep 19, 2021
A Dero service to sell Eth for Dero

ETH Seller - a Dero Service This is a Dero service for the Stargate R2 testnet, written for the dARCH 2021 Event 0.5 competition

null 3 May 4, 2021
go-for-php php-to-go

easy-func 项目介绍 使用 golang 来翻译 php 函数。可以看做php函数在golang的映射字典。

null 7 Sep 18, 2021
Experiments with Go generics

generics Quick experiments with Go generics algebra, a generic square root function for float, complex and and rational. future, a concurrent cache ("

Alan Donovan 58 Aug 13, 2021
Go package implementing Bloom filters

Go package implementing Bloom filters

Will Fitzgerald 1.3k Sep 20, 2021
Go library for HTTP content type negotiation

Content-Type support library for Go This library can be used to parse the value Content-Type header (if one is present) and select an acceptable media

Elviss Strazdins 28 Sep 18, 2021
Robust & Easy to use struct mapper and utility methods for Go

go-model Robust & Easy to use model mapper and utility methods for Go struct. Typical methods increase productivity and make Go development more fun ?

Jeevanandam M. 321 Sep 8, 2021
A Golang tool to whitelist ASN's based on organization name

A Golang tool to whitelist ASN's based on organization name. This works by providing a list of ASN org names. This tool uses goPacket to monitor incoming traffic, capturing the IP's and checking the IP to see if it is a part of a whitelisted ASN. If it is not, it blocks that connection and future connections using iptables.

JP 13 Jul 26, 2021
golang工具/助手函数包

Helper 1.仓库迁移至☞ https://github.com/golangtoolkit/helper 2.一些常用的助手函数工具包 包含: 字符串 (TStr) 数组 (TArr) 整型 (TInt) 浮点型 (TFloat) 文件 (TFile) url (TUri) hash (THa

toBetter 52 Sep 21, 2021
A tool and library for using structural regular expressions.

Structural Regular Expressions sregx is a package and tool for using structural regular expressions as described by Rob Pike (link).

Zachary Yedidia 23 Aug 23, 2021
randstr is a module that contains functions for generating random strings.

randstr is a module that contains functions for generating random strings. The functions in this module uses the crypto/rand package. Installa

Henrik Christensen 3 Aug 1, 2021
An enum generator for go

go-enum An enum generator for go How it works The goal of go-enum is to create an easy to use enum generator that will take a decorated type declarati

Alex Bice 237 Sep 22, 2021
psutil for golang

gopsutil: psutil for golang This is a port of psutil (https://github.com/giampaolo/psutil). The challenge is porting all psutil functions on some arch

shirou 6.8k Sep 19, 2021
⚖️ A tool for transpiling C to Go.

A tool for converting C to Go. The goals of this project are: To create a generic tool that can convert C to Go. To be cross platform (linux and mac)

Elliot Chance 1.7k Sep 17, 2021
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite

go-testdeep Extremely flexible golang deep comparison, extends the go testing package. Latest news Synopsis Description Installation Functions Availab

Maxime Soulé 196 Sep 23, 2021
Hotswap provides a solution for reloading your go code without restarting your server, interrupting or blocking any ongoing procedure.

Hotswap provides a solution for reloading your go code without restarting your server, interrupting or blocking any ongoing procedure. Hotswap is built upon the plugin mechanism.

Edwin 41 Sep 13, 2021