# wxGridCellFloatRenderer

###
Module

wxGridCellFloatRenderer

###
Module Summary

Functions for wxGridCellFloatRenderer class

###
Description

This class may be used to format floating point data in a cell.

See: wxGridCellRenderer, wxGridCellAutoWrapStringRenderer (not implemented in wx), wxGridCellBoolRenderer, wxGridCellDateTimeRenderer (not implemented in wx), wxGridCellEnumRenderer (not implemented in wx), wxGridCellNumberRenderer, wxGridCellStringRenderer

This class is derived (and can use functions) from: wxGridCellStringRenderer wxGridCellRenderer

wxWidgets docs: wxGridCellFloatRenderer

###
Data Types

####
wxGridCellFloatRenderer() = wx:wx_object()

###
Exports

####
new() -> wxGridCellFloatRenderer()

####
new(Options :: [Option]) -> wxGridCellFloatRenderer()

### Types

Option =
{width, integer()} |
{precision, integer()} |
{format, integer()}

Float cell renderer ctor.

####
getPrecision(This) -> integer()

### Types

This = wxGridCellFloatRenderer()

Returns the precision.

####
getWidth(This) -> integer()

### Types

This = wxGridCellFloatRenderer()

Returns the width.

####
setParameters(This, Params) -> ok

### Types

This = wxGridCellFloatRenderer()
Params = unicode:chardata()

The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)

####
setPrecision(This, Precision) -> ok

### Types

This = wxGridCellFloatRenderer()
Precision = integer()

Sets the precision.

####
setWidth(This, Width) -> ok

### Types

This = wxGridCellFloatRenderer()
Width = integer()

Sets the width.

####
destroy(This :: wxGridCellFloatRenderer()) -> ok

Destroys the object.