#Import the NumPy library
import numpy as np

#Initiating NumPy array
a = np.array([1.234, 2.345, 3.456])

#Applying function with 2 decimal places
b = np.around(a, decimals=2)

#Displaying results
print(b)