1
Reply

Enum with String values

Benjamin Popp

Benjamin Popp

Apr 24 2008 6:59 AM
1.8k

Hi,

i won´t declare an enum NumberFormat{hundredth, thousandth} with an String value.

Examble:

enum NumberFormat{hundredth = "##0.0#", thousandth= "##0.00#"}

how can i declare this??


Answers (1)