how to get divided number in mac terminal

Shell
echo $((10/2))
Source

Also in Shell: