I’m new to Yii and web development/php, so its tough going at the moment.
I have a number of tables which have fields stored in radians, I would like to show these fields in degrees for CRUD operations.
I use ActiveRecord::beforeSave to convert to radians when updating/creating. How do I format/convert database radians to display degrees ?
Whats the best way to achieve this ?
Come on, this should be easy