Function: tcp input number

Description

Returns a float number from a string number, usually a number typed in the screen.
To make the conversion the function uses the Decimal point separator and the Thousands separator settings.

Usage

<?php $number = tcp_input_number( $input ); ?>

Parameters

$input
(Float) The string to convert.

Examples

Change Log

Since: 1.0.7

Related

tcp_number_format