Decimal Places | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Decimal Places

Why does the number of decimal places in the outputs of AVG and SQRT differ? Can we set that? Thank you so much!

8th Jun 2017, 12:30 PM
Alyza Jannine Sangalang
Alyza Jannine Sangalang - avatar
1 Réponse
+ 3
CAST [ your field] AS [data type] [format]; for example: CAST (filename AS decimal (10,2)) for two decimal places.
9th Jun 2017, 6:59 PM
Saeede
Saeede - avatar