1. Eric Roshan Eisner
  2. units

Commits

Eric Roshan Eisner  committed 88f79c3

add % unit

  • Participants
  • Parent commits ec212b5
  • Branches default

Comments (0)

Files changed (1)

File fmt.go

View file
  • Ignore whitespace
 		"b":   Value{.125, Byte},
 		"bit": Value{.125, Byte},
 
+		"%": Value{.01, Unitless},
+
 		// Until I feel like implementing constants separately.
 		"c": Value{299792458, Meter.per(Second)},
 	}