Float returns the internal PHP value as a floating point number, converting if necessary.
()
| 202 | // Float returns the internal PHP value as a floating point number, converting |
| 203 | // if necessary. |
| 204 | func (v *Value) Float() float64 { |
| 205 | return (float64)(C.value_get_double(v.value)) |
| 206 | } |
| 207 | |
| 208 | // Bool returns the internal PHP value as a boolean, converting if necessary. |
| 209 | func (v *Value) Bool() bool { |
no outgoing calls