Created Float type

This commit is contained in:
b committed 2019-08-31 09:56:56 -06:00
1 parent 276c0f9c0e
commit 261331daa4
5 files changed
+34 -28

No files matched your search

+1 -2
View File
@@ -64,8 +64,7 @@ var attribTypes = map[string]AttribTypeInfo{
Imports: []string{"strconv"},
},
"float": {
Template: simpleTemplate("float32", "strconv.FormatFloat(float64(%s), 'G', -1, 32)"),
Imports: []string{"strconv"},
Template: simpleTemplate("float32", "Float(%s).String()"),
},
"space list": {
Template: simpleTemplate("...string", "SpaceList(%s).String()"),