I'm trying to round up a number to two digits after the comma. The number is located inside a span and has a specific class:

```
    <span class="roundup">1.982366834736872</span>

```

I've tried following code, but it did not work:

```
    $('.roundup').ready(function() {
        $(this).val(parseFloat($(this).val()).toFixed(2));
    });

```

I'm new to Javascript. So can anyone help me out?