I'm not sure what the &type=virtual is refering to (couldnt see reference to this in the docs) so I left it out, but adding &orderBy within the same quotation as limit=3 gave me the solution I needed. Much appreciated.
The documantation about Custom Object web modules is very small so I apologise for another question.
When doing a calculation between to records within HubDB I would so something like:
{% set example = (row.price - row.discount) %}
Unfortunately when I try and add 2 custom object fields using the below, the result is concatenating the numbers insetad of adding them together. What am I doing wrong? It should be 20000 + 5000 = 25000 but instead it displays 200005000
{% set example = (member.salary + member.bonus) %}