Inherits from NSObject
Conforms to SFormFieldModelViewConverter
Declared in SFormNumberFieldConverter.h
Availability
Related samples

Overview

A converter that converts values between SFormTextFieldView view object and an SFormNumberField model object.

Behavior:

Converts the field model value to an NSString representation so that a field view can display it in its input element.

Converts the field view value to an NSString representation so that it can be set on anSFormNumberField` instance.

Conversion in both directions strips out non numeric characters and adds grouping seperators.

Tasks

Properties

decimalSeperator

The decimal seperator used to format the numeric string.

@property (nonatomic, strong) NSString *decimalSeperator

Declared In

SFormNumberFieldConverter.h

groupingSeperator

The grouping seperator used to format the numeric string.

@property (nonatomic, strong) NSString *groupingSeperator

Declared In

SFormNumberFieldConverter.h

negativeSymbol

The negative symbol used to indicate negative numbers.

@property (nonatomic, strong) NSString *negativeSymbol

Discussion

This will be shown at the beginning of the number.

Declared In

SFormNumberFieldConverter.h