[Updated]=Final
This commit is contained in:
@@ -175,7 +175,7 @@ const Investors = ({data}) => {
|
||||
className="d-flex align-items-center web-text-small"
|
||||
>
|
||||
{/* {`$${formatCurrency(item.InvestedAmount_USD)}`} */}
|
||||
{`$${parseFloat(item.InvestedAmount_USD||0).toLocaleString()}`}
|
||||
{`$${parseFloat(item.InvestedAmount_USD||0).toFixed(2).toLocaleString()}`}
|
||||
</Text>
|
||||
),
|
||||
"Percentage": (
|
||||
@@ -197,7 +197,7 @@ const Investors = ({data}) => {
|
||||
fontWeight={"500"}
|
||||
className="d-flex align-items-center web-text-small"
|
||||
>
|
||||
{`$${parseFloat(item.Market_Value ||0).toLocaleString()}`}
|
||||
{`$${parseFloat(item.Market_Value ||0).toFixed(2)?.toLocaleString()}`}
|
||||
</Text>
|
||||
),
|
||||
"Return on Investment": (
|
||||
@@ -221,7 +221,7 @@ const Investors = ({data}) => {
|
||||
className="d-flex align-items-center web-text-small"
|
||||
>
|
||||
{/* {`$${item.Distribution_Amt}`} */}
|
||||
{`$${parseFloat(item.Distribution_Amt||0).toLocaleString()}`}
|
||||
{`$${parseFloat(item.Distribution_Amt||0).toFixed(2).toLocaleString()}`}
|
||||
</Text>
|
||||
),
|
||||
"Distribution Percent": (
|
||||
@@ -233,7 +233,7 @@ const Investors = ({data}) => {
|
||||
className="d-flex align-items-center web-text-small"
|
||||
>
|
||||
{/* {`$${item.Distribution_Amt}`} */}
|
||||
{`${parseFloat(item.Distribution_Per||0).toLocaleString()} %`}
|
||||
{`${parseFloat(item.Distribution_Per||0).toFixed(2).toLocaleString()} %`}
|
||||
</Text>
|
||||
),
|
||||
"Total Return": (
|
||||
@@ -245,7 +245,7 @@ const Investors = ({data}) => {
|
||||
className="d-flex align-items-center web-text-small"
|
||||
>
|
||||
{/* {`$${formatCurrency(item.Total_Return) || 0}`} */}
|
||||
{`$${parseFloat(item.Total_Return||0).toLocaleString()}`}
|
||||
{`$${parseFloat(item.Total_Return||0).toFixed(2).toLocaleString()}`}
|
||||
</Text>
|
||||
),
|
||||
"Total return on Investment": (
|
||||
|
||||
Reference in New Issue
Block a user