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.
Thanks for your help, but that's not what I'm asking. What I need is to remove the extra leading zeros. With custom fields, we can use a filter to format the data as we need, but when using MB Custom Table, the filters aren't triggered, so I don't know how to format the data before showing to the user.