Decimal option (Custom fields) truncates zeros on

This topic contains 5 replies, has 4 voices, and was last updated by  Stiofan O’Connor 9 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #17507

    frantletle
    Full Member
    Post count: 91

    Wordpress: 3.9.2
    WPGEO: 1.2.4

    Place settings > Custom fields > (choose a custom field to edit) > Field Type Data = DECIMAL

    When I have it set to Decimal, and I use something like 8.00 in one of the listings, it cuts off the zeros, leaving just “8”

    I realize that this might be how mysql/php works by default but is there a way to fix this? I am using this to show prices. Or is there a better way? I could use CHARACTER but this might cause problems if not-numbers are entered in that field.

    #17509

    Guust
    Moderator
    Post count: 29970

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #17511

    Simone
    Expired Member
    Post count: 3515
    This reply has been marked as private.
    #17768

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #17914

    frantletle
    Full Member
    Post count: 91
    This reply has been marked as private.
    #17953

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket