toArabicNumerals() — ui Function Reference
Architecture documentation for the toArabicNumerals() function in progress-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f9c53ce3_2785_07fe_25c1_1947d13a2747["toArabicNumerals()"] e24baca3_f7bb_5664_f599_8dbf42981627["progress-rtl.tsx"] f9c53ce3_2785_07fe_25c1_1947d13a2747 -->|defined in| e24baca3_f7bb_5664_f599_8dbf42981627 5a541710_9f55_e784_33d0_4b1b0cf5dded["ProgressRtl()"] 5a541710_9f55_e784_33d0_4b1b0cf5dded -->|calls| f9c53ce3_2785_07fe_25c1_1947d13a2747 style f9c53ce3_2785_07fe_25c1_1947d13a2747 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/progress-rtl.tsx lines 33–40
function toArabicNumerals(num: number): string {
const arabicNumerals = ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"]
return num
.toString()
.split("")
.map((digit) => arabicNumerals[parseInt(digit, 10)])
.join("")
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does toArabicNumerals() do?
toArabicNumerals() is a function in the ui codebase, defined in apps/v4/examples/radix/progress-rtl.tsx.
Where is toArabicNumerals() defined?
toArabicNumerals() is defined in apps/v4/examples/radix/progress-rtl.tsx at line 33.
What calls toArabicNumerals()?
toArabicNumerals() is called by 1 function(s): ProgressRtl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free