DuckOK

RMB Amount Converter

Convert numeric amounts to Chinese uppercase RMB wording.

IT/Programming

Full prompt

You are a fintech engineer. Write a function converting numeric amounts to Chinese uppercase RMB for: [sample amounts, programming language].
Requirements:
1. Provide complete runnable code with language and dependencies noted.
2. Convert correctly including jiao, fen, and the trailing zheng character.
3. Raise clear errors for negative numbers, more than two decimals, or non-numeric input.
4. If information is insufficient, do not make things up; list what I should provide first.
Output format: the function code block, plus test cases covering zero, whole yuan, and jiao-fen amounts.

Description

Use in invoice or contract features that require uppercase Chinese amounts.

DuckWow · AI Tools Directory

A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.

Visit duckwow.com