System.Single

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type Single = { built-in type };

C++

typedef float                Single;           // 4 byte real

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.pas
sysmac.h
System System

Description

Represents a single-precision floating-point value.

Use this type for low accuracy floating-point operations. For high accuracy operations, use double-precision floating-point values (Double), but keep in mind that the computational time will also increase.

The size of Single is 4 bytes.

See Also