Forums Forums Search & Filter Pro Filter Numbers with thousand separator

Viewing 10 posts - 21 through 30 (of 39 total)
  • Anonymous
    #246569

    Did that and it works as it should

    Trevor
    #246585

    How does it need to be formatted?

    For example:

    23900

    Does that become:

    CHF 23'900.-

    and do any have a decimal, or are integers (whole numbers)?

    Are any above 1 million?

    Anonymous
    #246589

    CHF 23’900.- is the perfect format. No decimals. nothing above 1 million. Price range is probably from 1’000 to 300’000, same with the kilometers. (Other numbers like engine size etc. arent relevant for the filter at the moment)

    Trevor
    #246593

    So, what does this code do?

    $test_price = get_field('test_price');
    if( $test_price ) echo "CHF " . number_format( $test_price,,".-" ,"’");
    Anonymous
    #246645

    hmm there is an error respectively the whole page looks distorted

    Trevor
    #246952

    What is the error and how does it look distorted? You might find it easier to show me an annotated screenshot of the issue? If that is the case, you would need to upload the screenshot image to a file sharing site (like the WordPress Cloudup site) and share the link for it with me?

    Anonymous
    #246971
    This reply has been marked as private.
    Trevor
    #247003
    This reply has been marked as private.
    Anonymous
    #247005

    yes ive seen it Im sorry, you should have access now.

    Trevor
    #247015
    This reply has been marked as private.
Viewing 10 posts - 21 through 30 (of 39 total)