Float class

Homepage
Wrappers

Introduction

The Float class "wraps" a float value to allow storing it where a class object is required.

Structure

  1. "Class values"
  2. Float value

Functions

New and Destroy

Float_new(value = 0):
Creates a new Float object.

Float_destroy(FloatObject):
Destroys the Float object and frees its memory.

Getters and Setters

Float_getValue(FloatObject):
Returns the value stored in the Float object.

Float_setValue(FloatObject, value = 0):
Sets the value stored in the Float object.


Homepage  |  Wrappers