- This topic has 7 replies, 2 voices, and was last updated 1 year, 11 months ago by .
I’m using MB Custom Table plugin and Elementor to display decimal fields. I used decimal(10, 2) when I created the table. The problem is that the numbers are displayed this way:
What I need is to display them without extra zeros at the end:
I tried with the filters get_post_metadata, rwmb_get_value and rwmb_meta without success, they didn’t dispatch with fields on a custom table. I also looked over the source code trying to find something useful without success.
What can I do?
- You must be logged in to reply to this topic.