MCPcopy Create free account
hub / github.com/SolarLune/masterplan / AsFloat

Method AsFloat

properties.go:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (prop *Property) AsFloat() float64 {
63 if prop.data == nil {
64 prop.data = 0.0
65 }
66 return prop.data.(float64)
67}
68
69func (prop *Property) AsInt() int {
70 if prop.data == nil {

Callers 15

UpdateVolumeMethod · 0.80
AutoBackupMethod · 0.80
GlobalShortcutsMethod · 0.80
NewNumberSpinnerFunction · 0.80
UpdateMethod · 0.80
NewScrollbarFunction · 0.80
UpdateZoomMethod · 0.80
NewNumberedContentsFunction · 0.80
UpdateMethod · 0.80
DrawMethod · 0.80
TriggerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected