1

Given value in database table is 23.045000,45.6090, 23.900 . Output should be displayed as 23.045, 45.609, 23.9

Yogesh Sharma
  • 49,870
  • 5
  • 26
  • 52
Indhu
  • 5
  • 2

1 Answers1

0

Cast the value as Float. like this

select cast(23.045000 as float)-->23.045
select cast(45.6090 as float)-->45.609
select cast(23.900 as float)-->23.9
Jayasurya Satheesh
  • 7,826
  • 3
  • 22
  • 39