1
Answer

Enum with String values

Benjamin Popp

Benjamin Popp

16y
1.8k
1

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)