I've set up firms (turtles) in an industry (world) which either produce at home (firms-at-home located > ycor) or have offshored their production (offshore-firms located < ycor). I have given them a firms-own called offshored? which is answered with either true or false.
I have a monitor on my interface which shows the amount of firms which have offshored and the ones which produce at home (in %) of all firms in the setup-world:
breed [ firms firm ]
firms-own [
offshored? ;; true or false
]
to-report percentage-of-firms-at-home ;; monitors the % of firms which produce at home
report ( ( count firms with [ ycor > 0 ] ) / count firms ) * 100
end
to-report percentage-of-offshored-firms ;; monitors the % of offshored firms
report ( ( count firms with [ ycor < 0 ] ) / count firms ) * 100
end
I then plugged percentage-of-offshored-firms
into a monitor on the interface. Now, I would like to have an absolute number show up for my reported percentage. How can I change the decimal number I receive so far to an absolute one?