-int
-ValueNode_RealString::get_link_index_from_name(const String &name)const
-{
- if (name=="real") return 0;
- if (name=="width") return 1;
- if (name=="precision") return 2;
- if (name=="zero_pad") return 3;
+ ret.push_back(ParamDesc(ValueBase(),"precision")
+ .set_local_name(_("Precision"))
+ .set_description(_("Number of decimal places"))
+ );