• Resolved aliferis

    (@aliferis)


    Hi there

    I have a small problem I hope you can help with

    Having got my weight based shipping rules working, when I test them the logic works as it should but I get some weird total weight like so

    11.1855878442 kg

    Is there a way to round these up/down to two decimal places ?

    cheers

    joe

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dan

    (@dangoodman)

    Hi,

    The plugins does not output total weight anywhere so that should not be a problem. What is the issue with that?

    Thread Starter aliferis

    (@aliferis)

    oh – sorry

    I guess it must be Woocommerce doing this then

    Its in my checkout screen

    where shipping costs are calculated

    joe

    Plugin Author Dan

    (@dangoodman)

    There must be some other plugin or theme in your wordpress installation displaying total weight.

    Thread Starter aliferis

    (@aliferis)

    thanks – you were right, another addon

    i found and edited it to shorten/round the weight to 2 decimals

    thanks again

    Joe

    Marco77

    (@marcokiel77)

    @aliferis, Can you show me how you got it done, i have the same problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Total weight rounding’ is closed to new replies.