Is there a package in golang similar to the PHP functions bcsub, bcadd etc.?
I am trying to write the following function from php to golang.
function convertToSteamID($communityID) {
// See if the second number in the steamid (the auth server) is 0 or 1. Odd is 1, even is 0
$authserver = bcsub($communityID, '76561197960265728') & 1;
// Get the third number of the steamid
$authid = (bcsub($communityID, '76561197960265728')-$authserver)/2;
// Concatenate the STEAM_ prefix and the first number, which is always 0, as well as colons with the other two numbers
return "STEAM_0:$authserver:$authid";
}