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) 250 Bytes
package unit
// Illuminance represents a SI unit for illuminance (in lux, lx)
type Illuminance Unit
// constants
const (
Lux Illuminance = 1e0 // SI
)
// Lux returns the illuminance in lx
func (i Illuminance) Lux() float64 {
return float64(i)
}
You can’t perform that action at this time.