[10] Results

Golang : Convert IPv4 address to decimal number(base 10) or integer

golang ip-address decimal-base-10 integer

Problem :

IP address in decimal is easier to search, filter or compare. For example, searching for IP address in….... read more

Golang : Convert decimal number(integer) to IPv4 address

golang ip-address decimal-base-10 bitwise-or

Problem :

You've read the previous tutorial on how to convert IPv4 address to decimal number and store….... read more

Python : Convert IPv6 address to decimal and back to IPv6

python IPv6 decimal

Problem :

Need to convert IPv6 address to decimal number and convert back to IPv6. How to do that?

Solution….... read more

Golang : Accurate and reliable decimal calculations

golang float decimal-accuracy calculation

If you have been programming for a long time, chances are you will be aware of a well-known issue with….... read more

JavaScript : Rounding number to decimal formats to display currency

javascript rounding tofixed decimal-points currency-money

Was looking for ways to round up float numbers to 2 decimal points and also to display currency with Javascript.….... read more

Golang : Of hash table and hash map

golang hash-table lookups map knowledge-base

A short note for myself. Was looking to build a knowledge base consisting of a keyword or key string and….... read more

Golang : Convert IP version 6 address to integer or decimal number

golang ip-version-6 integer decimal-number

Problem :

You have IP address version 6 in string format and you want to convert it into integer. How….... read more

Golang : Get remaining text such as id or filename after last segment in URL path

golang filepath-base basename extract-remaining-text-after-slash


Retrieving the last segment/part or the remaining text after a slash in the URL or filename in a path….... read more