Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Show room number with comma or point (4.5) Reply To: Show room number with comma or point (4.5)

#83559

Anna
Keymaster

Hi Nicole

Thank you for the message.

You have to chance the number format in PHP.

he intval need to be replaced to floatval on the lines you want to use float numbers like 3.5

You’d have to change in all the locations which can be several and you’d have to do a search first in theme code by property_rooms

in the end it should look like $property_rooms = floatval ( get_post_meta($post->ID, 'property_rooms', true) );

Thank you,
Anna