Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 266 Bytes
package unit
// LuminousFlux represents a SI unit for luminous flux (in lumen, lm)
type LuminousFlux Unit
// constants
const (
Lumen LuminousFlux = 1e0 // SI
)
// Lumen returns the luminous flux in lm
func (l LuminousFlux) Lumen() float64 {
return float64(l)
}
You can’t perform that action at this time.