Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetValueFromIntOrPercent (0.32 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		}
    	}
    	return value, nil
    }
    
    // GetValueFromIntOrPercent was deprecated in favor of
    // GetScaledValueFromIntOrPercent. This method was treating all int as a numeric value and all
    // strings with or without a percent symbol as a percentage value.
    // Deprecated
    func GetValueFromIntOrPercent(intOrPercent *IntOrString, total int, roundUp bool) (int, error) {
    	if intOrPercent == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top