Hi, quick question, more of a curiosity. Is there a PHP method that has as input an int and returns the name of the number as a string value? Say, for input 0 it returns "zero", for 7 returns "seven", and so on?

Thanks

Recommended Answers

All 2 Replies

Ahh, that's the only Google search I didn't try, number to word. As I said, it was more of a curiosity. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.