Skráti sa vaša odpoveď na desatinné miesta, mysql

Príklady kódu

0
0

skráti sa vaša odpoveď na desatinné miesta, mysql

SELECT TRUNCATE(135.375, 2);   -- Result: 135.37

SELECT TRUNCATE(COLUMN_NAME, X) FROM TABLE;
-- Truncate values in the COLUMN_NAME upto X decimal places

Podobné stránky

Podobné stránky s príkladmi

V iných jazykoch

Táto stránka je v iných jazykoch

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................