toArabicNumerals() — ui Function Reference
Architecture documentation for the toArabicNumerals() function in progress-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 74c75675_5f16_66c6_2be8_07c64e1f7f2a["toArabicNumerals()"] 21a31d62_27c1_c2a5_de83_88380cbc2f51["progress-rtl.tsx"] 74c75675_5f16_66c6_2be8_07c64e1f7f2a -->|defined in| 21a31d62_27c1_c2a5_de83_88380cbc2f51 540dd4c2_53b7_d4c9_ebfa_510ab9459398["ProgressRtl()"] 540dd4c2_53b7_d4c9_ebfa_510ab9459398 -->|calls| 74c75675_5f16_66c6_2be8_07c64e1f7f2a style 74c75675_5f16_66c6_2be8_07c64e1f7f2a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/progress-rtl.tsx lines 36–43
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/base/progress-rtl.tsx.
Where is toArabicNumerals() defined?
toArabicNumerals() is defined in apps/v4/examples/base/progress-rtl.tsx at line 36.
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